<!DOCTYPE html>
<style>
#img {content:url('ImageDoesNotExist')}
</style>
<img id='img' alt='test image'>
<script>
    document.getElementById('img').style.content = "url('resources/gracehopper.png')";
    document.getElementById('img').style.content = "url('ImageDoesNotExist')";
    document.getElementById('img').style.content = "url('resources/gracehopper.png')";
</script>
<p>crbug.com/516239: images set by content: url() should behave correctly with alt text.
